Filter by len()

36

def friend(x):
    return filter(lambda name: len(name) == 4, x)

Comments

Submit
0 Comments